package com.baizhi.mall.mapper;

import com.baizhi.mall.entity.mysql.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public  interface MenuDao extends BaseMapper<Menu> {
    //查询所有菜单
    List<Menu> selectAll();
    //查询所有菜单权限
    List<Menu> selectPermissionByUsername(String name);
}
